<div class="dialog-box">
  <div class="dialog-inner" [ngStyle]="{width:width + 'px'}">
      <a class="icon651" (click)="cancel()"></a>
      <div class="dialog-tit">
          <h3>{{title}}</h3> 
      </div>
      <div class="dialog-body">
          <ng-content></ng-content>
      </div>
      <!-- <div class="dialog-footer flex">
          <app-button [text]="'Cancel'" [size]="'middle'" [type]="'default'" [notice]="'text'" (click)="account=null;activeIndex=-1"></app-button>
          <app-button *ngIf="!account.id" [text]="'Submit'" [size]="'middle'" [type]="'default'" [notice]="'main'"
              class="ml10" (click)="account.submitted=true;create(accountForm.invalid || account.role.length == 0)"></app-button>
          <app-button *ngIf="account.id" [text]="'Save'" [size]="'middle'" [type]="'default'" [notice]="'main'" class="ml10"
              (click)="account.submitted=true;update(accountForm.invalid || account.role.length == 0)"></app-button>
      </div> -->
  </div>
</div>
